Skip to content

ci(stale): exempt pinned items and document required labels - #114

Merged
PAMulligan merged 1 commit into
mainfrom
113-ci-stale-workflow-references-deleted-stale-label-re-create-label-or-revise-staleyml
Jun 11, 2026
Merged

ci(stale): exempt pinned items and document required labels#114
PAMulligan merged 1 commit into
mainfrom
113-ci-stale-workflow-references-deleted-stale-label-re-create-label-or-revise-staleyml

Conversation

@PAMulligan

Copy link
Copy Markdown
Contributor

Summary

  • Recreated the stale label (and added a new pinned label) in the repo's label registry via gh label create, so the label referenced by stale.yml resolves and stale items can be found with a label:stale filter again
  • Added pinned to exempt-issue-labels and introduced exempt-pr-labels: "pinned" so intentionally long-lived issues and PRs are never auto-closed (PRs previously had no exemption mechanism at all)
  • The stale-issue message now mentions the permanent rescue path, and a comment in the workflow documents that both labels must exist in the repo's label set

Verification

  • gh label list shows both labels with descriptions and colors (stale #ededed, pinned #5319e7)
  • gh issue list --label stale and --label pinned exit 0 — the filters resolve again (0 items currently marked)
  • stale.yml parses as valid YAML (checked with js-yaml)

Notes for reviewers

Closes #113

🤖 Generated with Claude Code

The stale workflow applies a 'stale' label that had been deleted from
the repo's label set, leaving stale items unfilterable and breaking the
documented rescue path (surfaced when issue #58 was auto-marked stale
with no permanent opt-out).

- Add 'pinned' to exempt-issue-labels and introduce exempt-pr-labels
  (PRs previously had no exemption mechanism)
- Mention the pinned rescue path in the stale-issue message
- Document that the stale and pinned labels must exist in the repo's
  label set

The stale (#ededed) and pinned (#5319e7) labels were recreated directly
in the repo's label registry via gh label create.

Fixes #113

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions github-actions Bot added the area: ci-cd CI/CD workflows label Jun 11, 2026
@PAMulligan PAMulligan self-assigned this Jun 11, 2026
@PAMulligan
PAMulligan merged commit 5a13523 into main Jun 11, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci-cd CI/CD workflows

Projects

Development

Successfully merging this pull request may close these issues.

ci: stale workflow references deleted "stale" label — re-create label or revise stale.yml

1 participant